package com.zmovie.framework.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 
 * @TableName hall_type
 */
@TableName(value ="hall_type")
@Data
@ApiModel("影厅类型")
public class HallType implements Serializable {
    /**
     * 影厅类型id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键")
    private Integer id;

    /**
     * 类型名称
     */
    @NotBlank(message = "类型名称不能为空")
    @ApiModelProperty("类型名称")
    private String name;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}